12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- var rule = {
- title: '小站盘[搜]',
- host: 'https://www.xzso.net/',
- searchUrl: '/search?exact=false&page=fypage&q=**&share_time=&type=&user=',
- searchable: 2,
- quickSearch: 0,
- headers: {
- 'User-Agent': 'PC_UA',
- },
- timeout: 5000,
- play_parse: true,
- lazy: $js.toString(() => {
- let url = input.startsWith('push://') ? input : 'push://' + input;
- input = {parse: 0, url: url};
- }),
- // 一级: '',
- 二级: $js.toString(() => {
- VOD = {};
- VOD.vod_id = input;
- let html = request(input);
- let title = pdfh(html, 'h1&&Text');
- let share_url = pdfh(html, '.semi-typography-link:eq(-1)&&a&&href');
- let share_type = pdfh(html, '.semi-descriptions-value:eq(3)&&Text');
- VOD.vod_name = title;
- VOD.vod_pic = '';
- VOD.content = share_url;
- VOD.vod_remarks = pdfh(html, '.semi-descriptions-value&&Text');
- VOD.vod_play_from = '道长在线';
- VOD.vod_play_url = share_type + '$' + 'push://' + share_url;
- }),
- 搜索: $js.toString(() => {
- let html = request(input);
- let data = pdfa(html, '.rm-search-content&&.semi-space-vertical');
- let d = [];
- data.forEach(it => {
- d.push({
- title: pdfh(it, 'a&&title'),
- desc: pdfh(it, 'span:eq(3)&&Text') + '|' + pdfh(it, 'span:eq(-1)&&Text'),
- img: "",
- url: pd(it, 'a&&href', MY_URL)
- });
- });
- setResult(d);
- }),
- }
|